package com.yishan.gulimall.springsecurity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String title;
    private String path;

    private Long parentId;
    private String component;

    private Date createTime;
    private Date updateTime;

    // getters and setters
}
